package com.yunhuisu.service;

import com.yunhuisu.pojo.Books;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
@Service
public interface BookService {
    List<Books> findAllBook();
    Books findByIdBook(int bookID);
    boolean addBook(Books books);
    boolean updateBook(Books books);
    boolean byIdDeleteBook(int bookID);
}
